﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace NewHPDNWcfService.Entities
{
    // Các món trong nhà hàng 
    [DataContract]
    public class Item
    {
        [DataMember]
        public int Id { get; set; }
                
        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public int CategoryId { get; set; }

        [DataMember]
        public string Unit { get; set; }

        [DataMember]
        public double Price { get; set; }

        public Item(int id)
        {
            this.Id = id;
        }
        public Item()
        {

        }
    }
}